import Basic from "@/layout/Basic.vue";
import Demo from "@/pages/Demo.vue";
import {RouteRecordRaw} from "vue-router";

const pages: Array<RouteRecordRaw> = [
    {
        path: '/',
        name: 'home',
        component: Basic,
        meta: {
            title: '首页',
            showMenu: true,
        },
        redirect: '/demo',
        children: [
            {
                path: '/demo',
                name: 'demo',
                component: Demo,
                meta: {
                    title: '演示',
                    showMenu: true,
                }
            },

        ]
    }
]

export default pages
